package studysystem.db;

import java.sql.ResultSet;

public class DBTest {
        public static void run() {
                try {
                        MySQLConnector conn = new MySQLConnector();
                        ResultSet users = conn.execSQLQuery("SELECT * FROM USER");
                       
                        while (users.next()) {
                                System.out.println(users.getString("login"));
                        }
                } catch (Exception e) {
                        e.printStackTrace();
                }
        }
}
